<template>
  <div class="wrap" :class="{ 'wrap-form': isForm }">
    <slot />
  </div>
</template>

<script>
export default {
  props: {
    isForm: {
      type: Boolean
    }
  },
  name: 'Wrap'
}
</script>

<style scoped>
.wrap {
  margin: 15px 15px 0 15px;
  padding: 15px;
  background: white;
  border: 1px solid rgb(231, 231, 231);
  border-radius: 4px;
}
.wrap-form {
  padding-bottom: 0;

}
</style>